<%@ page import="com.oyb.entity.Admin" %><%--
  Created by IntelliJ IDEA.
  User: 11954
  Date: 2022/3/29
  Time: 15:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!-- 引入jstl的函数 -->
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<html>
  <head>
    <title>学生管理系统</title>
    <style>
      a{
        text-decoration: none;
        color: black;
      }
    </style>
  </head>
  <body>
  <h1>学生管理系统首页</h1>
  <h3>欢迎${login_user.username}登录</h3>
  <img style="width: 200px; height: 200px;" src="headershow"/><br><br>
  <button><a href="updateadmin.jsp">修改信息</a></button><br><br>
  <button  onclick="javascript: location.href='unregister'">退出登录</button><br><br>
  <c:if test="${fn:contains(login_user.power,'4')}">
    <button onclick="javascript:location.href='stuquerypage?page=1&pageSize=3'">学生管理</button><br><br>
  </c:if>
  <button onclick="javascript:location.href='classesquerypage?page=1&pagesize=3'">班级管理</button><br><br>
  <button onclick="javascript:location.href='coursequerypage?page=1&pagesize=3'">课程管理</button>
  </body>
</html>
